﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace Kooboo.Commerce
{
    public interface IAddress
    {
        int Id
        {
            get;
            set;
        }

        [Required]
        [StringLength(50)]
        string FirstName
        {
            get;
            set;
        }

        [Required]
        [StringLength(50)]
        string LastName
        {
            get;
            set;
        }

        [Required]
        [StringLength(255)]        
        string Address1
        {
            get;
            set;
        }

        [StringLength(255)]
        string Address2
        {
            get;
            set;
        }

        [Required]
        [StringLength(10)]        
        string Postcode
        {
            get;
            set;
        }

        [Required]
        [StringLength(50)]
        string City
        {
            get;
            set;
        }

        [Required]
        [StringLength(50)]
        string State
        {
            get;
            set;
        }

        ICountry Country
        {
            get;
            set;
        }

        [Required]
        [StringLength(50)]
        string Phone
        {
            get;
            set;
        }

        //ICustomer Customer
        //{
        //    get;
        //    set;
        //}
    }
}
